package com.example.demo.Service;

import com.example.demo.Dao.DiseaseMapper;
import com.example.demo.Entity.Disease;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DiseaseService {
    public List<Disease> findall();
    public PageInfo<Disease> findPageByName(int pageNum,int pageSize);
}
